package com.forcht.ioc.factory;


import com.forcht.ioc.BeanDefinition;

/**
 * Created by forcht on 2018/4/17.
 * 这里使用了工厂方法模式
 */
public interface BeanFactory {

    Object getBean(String name) throws Exception;

    void registerBeanDefinition(String name, BeanDefinition beanDefinition) throws Exception;
}
